package com.gpframework.module.order.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gpframework.common.core.domain.BasePlusEntity;
import java.math.BigDecimal;

/**
 * @ClassName GpProductDetails
 * @Author gpframework
 * @Date 2023-06-16
 * @Version 1.0.0
 * @Description 产品详情 PO对象
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("gp_product_details")
public class GpProductDetails extends BasePlusEntity {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;
    /** 品牌id */
    private String brandId;
    /** 品牌名称 */
    private String brandName;
    /** 订单ID */
    private Long orderId;
    /** 产品ID */
    private Long productId;
    /** 产品单位标签名称 */
    private String productUnitTagName;
    /** 产品邮寄单位名称 */
    private String productPostUnitName;
    /** 数量标签 */
    private BigDecimal quantityTag;
    /** 分支数量 */
    private BigDecimal branchesQuantity;
    /** 备注 */
    private String remarks;

    /** 订单特性(大货/散剪) */
    @ApiModelProperty("订单特性(大货/散剪)")
    @TableField(exist = false)
    private String orderCharacteristics;

}
